class HomeListFlutterModel {
  int ret;
  Data data;
  String msg;

  HomeListFlutterModel({this.ret, this.data, this.msg});

  HomeListFlutterModel.fromJson(Map<String, dynamic> json) {
    ret = json['ret'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
    msg = json['msg'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['ret'] = this.ret;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    data['msg'] = this.msg;
    return data;
  }
}

class Data {
  int total;
  List<HomeListModel> modelList;
  List<String> fieldCnName;
  List<String> fieldAliasName;

  Data({this.total, this.modelList, this.fieldCnName, this.fieldAliasName});

  Data.fromJson(Map<String, dynamic> json) {
    total = json['total'];
    if (json['rows'] != null) {
      modelList = new List<HomeListModel>();
      json['rows'].forEach((v) {
        modelList.add(new HomeListModel.fromJson(v));
      });
    }
    fieldCnName = json['fieldCnName'].cast<String>();
    fieldAliasName = json['fieldAliasName'].cast<String>();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['total'] = this.total;
    if (this.modelList != null) {
      data['rows'] = this.modelList.map((v) => v.toJson()).toList();
    }
    data['fieldCnName'] = this.fieldCnName;
    data['fieldAliasName'] = this.fieldAliasName;
    return data;
  }
}

class HomeListModel {
  Map<String, dynamic> allItemData;
  bool isDisplayMore;///是否显示更多
  bool isStart;///是否是第一个
  int bUSSINESSTYPE;
  String bUYREQUEST;
  int cOURSEID;
  int cOURSEIDATM90346;
  int cOURSENUM;
  String dICAFM35;
  String dICAFM62;
  String dICGAFM1;
  String dICGBUSSINESSTYPE;
  String dICPRODUCTCLASSTYPE;
  String dICPRODUCTMODE;
  String dICSHOPPINGTYPE;
  String eNDDATE;
  String eRCODE;
  String eRPERSON;
  int gRADEIDATM80347;
  String gRADETYPE;
  String kEMULISTS;
  int lMFID;
  int lMFPAGEID;
  int nOWNUMBER;
  int aPPLY_NUM;
  int oRGANIDATM110348;
  String pARTICULARSIMG;
  String pC2SUBJECTID;
  int pCPHOTOATM3214;
  int pHOTOATM4314;
  int pKCLASSIDATM170357;
  String pKGRADEATM561347;
  String pKPTATM101351;
  int pKPTIDATM220351;
  String pKSTUDENTNEWATM541311;
  int pRODUCTCLASSID;
  int pRODUCTCLASSTYPE;
  String pRODUCTCOURSE;
  int pRODUCTDETAILPICATM3604;
  String pRODUCTGRADE;
  String pRODUCTGRADEID;
  int pRODUCTMODE;
  String pRODUCTNAME;
  int pRODUCTNOWPRICE;
  int pRODUCTOLDPRICE;
  String pRODUCTORGAN;
  int pRODUCTPROTYPEID;
  String pRODUCTSCHOOL;
  String pRODUCTTEACHER;
  String pRODUCTTYPENAME;
  String pRODUCTYEAR;
  int pTID;
  String rEGULAR128DICBUSSINESSTYPE;
  String rEGULAR15DICAFM1;
  String rEGULARAFM1;
  String rEGULARBUSSINESSTYPE;
  String rEGULARDIFFISTAR;
  String rEGULARRBZT;
  int rNNUMBER;
  int sCHOOLIDATM120349;
  int sHOPPINGTYPE;
  String sTARTDATE;
  String sTUDYTIMEPRIOD;
  int tEACHERID;
  String tEACHERNAME;
  int tEACHERIDATM2302;
  String tEACHERPICPHONE;
  int tEACHID;
  String tEAMONGODBID;
  int t3530;
  String uSERIDS;
  int yXSHOPCONTACTQRCODEATM5204;
  String dICGRBZT;
  int rBZT;
  String rEGULAR19DICRBZT;
  int aFM107;
  int aFM2;
  String aFM50;
  int oNETOONEID;
  String oTOAPPLYSTUTXT;
  int pKOTOPRODUCTATM20429;

  HomeListModel(
      {
        this.isDisplayMore = false,
        this.isStart = false,
        this.bUSSINESSTYPE,
        this.bUYREQUEST,
        this.cOURSEID,
        this.cOURSEIDATM90346,
        this.cOURSENUM,
        this.dICAFM35,
        this.dICAFM62,
        this.dICGAFM1,
        this.dICGBUSSINESSTYPE,
        this.dICPRODUCTCLASSTYPE,
        this.dICPRODUCTMODE,
        this.dICSHOPPINGTYPE,
        this.eNDDATE,
        this.eRCODE,
        this.eRPERSON,
        this.gRADEIDATM80347,
        this.gRADETYPE,
        this.kEMULISTS,
        this.lMFID,
        this.lMFPAGEID,
        this.nOWNUMBER,
        this.aPPLY_NUM,
        this.oRGANIDATM110348,
        this.pARTICULARSIMG,
        this.pC2SUBJECTID,
        this.pCPHOTOATM3214,
        this.pHOTOATM4314,
        this.pKCLASSIDATM170357,
        this.pKGRADEATM561347,
        this.pKPTATM101351,
        this.pKPTIDATM220351,
        this.pKSTUDENTNEWATM541311,
        this.pRODUCTCLASSID,
        this.pRODUCTCLASSTYPE,
        this.pRODUCTCOURSE,
        this.pRODUCTDETAILPICATM3604,
        this.pRODUCTGRADE,
        this.pRODUCTGRADEID,
        this.pRODUCTMODE,
        this.pRODUCTNAME,
        this.pRODUCTNOWPRICE,
        this.pRODUCTOLDPRICE,
        this.pRODUCTORGAN,
        this.pRODUCTPROTYPEID,
        this.pRODUCTSCHOOL,
        this.pRODUCTTEACHER,
        this.pRODUCTTYPENAME,
        this.pRODUCTYEAR,
        this.pTID,
        this.rEGULAR128DICBUSSINESSTYPE,
        this.rEGULAR15DICAFM1,
        this.rEGULARAFM1,
        this.rEGULARBUSSINESSTYPE,
        this.rEGULARDIFFISTAR,
        this.rEGULARRBZT,
        this.rNNUMBER,
        this.sCHOOLIDATM120349,
        this.sHOPPINGTYPE,
        this.sTARTDATE,
        this.sTUDYTIMEPRIOD,
        this.tEACHERID,
        this.tEACHERNAME,
        this.tEACHERIDATM2302,
        this.tEACHERPICPHONE,
        this.tEACHID,
        this.tEAMONGODBID,
        this.t3530,
        this.uSERIDS,
        this.yXSHOPCONTACTQRCODEATM5204,
        this.dICGRBZT,
        this.rBZT,
        this.rEGULAR19DICRBZT,
        this.aFM107,
        this.aFM2,
        this.aFM50,
        this.oNETOONEID,
        this.oTOAPPLYSTUTXT,
        this.pKOTOPRODUCTATM20429,
        this.allItemData});

  HomeListModel.fromJson(Map<String, dynamic> json) {
    bUSSINESSTYPE = json['BUSSINESS_TYPE'];
    bUYREQUEST = json['BUY_REQUEST'];
    cOURSEID = json['COURSEID'];
    cOURSEIDATM90346 = json['COURSE_ID_ATM_9_0_346'];
    cOURSENUM = json['COURSE_NUM'];
    dICAFM35 = json['DIC_AFM_35'];
    dICAFM62 = json['DIC_AFM_62'];
    dICGAFM1 = json['DIC_G_AFM_1'];
    dICGBUSSINESSTYPE = json['DIC_G_BUSSINESS_TYPE'];
    dICPRODUCTCLASSTYPE = json['DIC_PRODUCT_CLASS_TYPE'];
    dICPRODUCTMODE = json['DIC_PRODUCT_MODE'];
    dICSHOPPINGTYPE = json['DIC_SHOPPING_TYPE'];
    eNDDATE = json['END_DATE'];
    eRCODE = json['ERCODE'];
    eRPERSON = json['ERPERSON'];
    gRADEIDATM80347 = json['GRADE_ID_ATM_8_0_347'];
    gRADETYPE = json['GRADE_TYPE'];
    kEMULISTS = json['KEMU_LISTS'];
    lMFID = json['LMF_ID'];
    lMFPAGEID = json['LMF_PAGEID'];
    nOWNUMBER = json['NOW_NUMBER'];
    aPPLY_NUM = json['APPLY_NUM'];
    oRGANIDATM110348 = json['ORGAN_ID_ATM_11_0_348'];
    pARTICULARSIMG = json['PARTICULARS_IMG'];
    pC2SUBJECTID = json['PC_2_SUBJECT_ID'];
    pCPHOTOATM3214 = json['PC_PHOTO_ATM_32_1_4'];
    pHOTOATM4314 = json['PHOTO_ATM_43_1_4'];
    pKCLASSIDATM170357 = json['PK_CLASS_ID_ATM_17_0_357'];
    pKGRADEATM561347 = json['PK_GRADE_ATM_56_1_347'];
    pKPTATM101351 = json['PK_PT_ATM_10_1_351'];
    pKPTIDATM220351 = json['PK_PT_ID_ATM_22_0_351'];
    pKSTUDENTNEWATM541311 = json['PK_STUDENT_NEW_ATM_54_1_311'];
    pRODUCTCLASSID = json['PRODUCT_CLASS_ID'];
    pRODUCTCLASSTYPE = json['PRODUCT_CLASS_TYPE'];
    pRODUCTCOURSE = json['PRODUCT_COURSE'];
    pRODUCTDETAILPICATM3604 = json['PRODUCT_DETAIL_PIC_ATM_36_0_4'];
    pRODUCTGRADE = json['PRODUCT_GRADE'];
    pRODUCTGRADEID = json['PRODUCT_GRADE_ID'];
    pRODUCTMODE = json['PRODUCT_MODE'];
    pRODUCTNAME = json['PRODUCT_NAME'];
    pRODUCTNOWPRICE = json['PRODUCT_NOW_PRICE'];
    pRODUCTOLDPRICE = json['PRODUCT_OLD_PRICE'];
    pRODUCTORGAN = json['PRODUCT_ORGAN'];
    pRODUCTPROTYPEID = json['PRODUCT_PROTYPE_ID'];
    pRODUCTSCHOOL = json['PRODUCT_SCHOOL'];
    pRODUCTTEACHER = json['PRODUCT_TEACHER'];
    pRODUCTTYPENAME = json['PRODUCT_TYPE_NAME'];
    pRODUCTYEAR = json['PRODUCT_YEAR'];
    pTID = json['PT_ID'];
    rEGULAR128DICBUSSINESSTYPE = json['REGULAR_128_DIC_BUSSINESS_TYPE'];
    rEGULAR15DICAFM1 = json['REGULAR_15_DIC_AFM_1'];
    rEGULARAFM1 = json['REGULAR_AFM_1'];
    rEGULARBUSSINESSTYPE = json['REGULAR_BUSSINESS_TYPE'];
    rEGULARDIFFISTAR = json['REGULAR_DIFFI_STAR'];
    rEGULARRBZT = json['REGULAR_RB_ZT'];
    rNNUMBER = json['RN_NUMBER'];
    sCHOOLIDATM120349 = json['SCHOOL_ID_ATM_12_0_349'];
    sHOPPINGTYPE = json['SHOPPING_TYPE'];
    sTARTDATE = json['START_DATE'];
    sTUDYTIMEPRIOD = json['STUDY_TIME_PRIOD'];
    tEACHERID = json['TEACHERID'];
    tEACHERNAME = json['TEACHERNAME'];
    tEACHERIDATM2302 = json['TEACHER_ID_ATM_23_0_2'];
    tEACHERPICPHONE = json['TEACHER_PIC_PHONE'];
    tEACHID = json['TEACH_ID'];
    tEAMONGODBID = json['TEA_MONGODB_ID'];
    t3530 = json['T_353_0'];
    uSERIDS = json['USERIDS'];
    yXSHOPCONTACTQRCODEATM5204 = json['YX_SHOP_CONTACT_QRCODE_ATM_52_0_4'];
    dICGRBZT = json['DIC_G_RB_ZT'];
    rBZT = json['RB_ZT'];
    rEGULAR19DICRBZT = json['REGULAR_19_DIC_RB_ZT'];
    oNETOONEID = json['ONETOONE_ID'];
    oTOAPPLYSTUTXT = json['OTO_APPLYSTUTXT'];
    pKOTOPRODUCTATM20429 = json['PK_OTO_PRODUCT_ATM_2_0_429'];
    allItemData = json;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['BUSSINESS_TYPE'] = this.bUSSINESSTYPE;
    data['BUY_REQUEST'] = this.bUYREQUEST;
    data['COURSEID'] = this.cOURSEID;
    data['COURSE_ID_ATM_9_0_346'] = this.cOURSEIDATM90346;
    data['COURSE_NUM'] = this.cOURSENUM;
    data['DIC_AFM_35'] = this.dICAFM35;
    data['DIC_AFM_62'] = this.dICAFM62;
    data['DIC_G_AFM_1'] = this.dICGAFM1;
    data['DIC_G_BUSSINESS_TYPE'] = this.dICGBUSSINESSTYPE;
    data['DIC_PRODUCT_CLASS_TYPE'] = this.dICPRODUCTCLASSTYPE;
    data['DIC_PRODUCT_MODE'] = this.dICPRODUCTMODE;
    data['DIC_SHOPPING_TYPE'] = this.dICSHOPPINGTYPE;
    data['END_DATE'] = this.eNDDATE;
    data['ERCODE'] = this.eRCODE;
    data['ERPERSON'] = this.eRPERSON;
    data['GRADE_ID_ATM_8_0_347'] = this.gRADEIDATM80347;
    data['GRADE_TYPE'] = this.gRADETYPE;
    data['KEMU_LISTS'] = this.kEMULISTS;
    data['LMF_ID'] = this.lMFID;
    data['LMF_PAGEID'] = this.lMFPAGEID;
    data['NOW_NUMBER'] = this.nOWNUMBER;
    data['APPLY_NUM'] = this.aPPLY_NUM;
    data['ORGAN_ID_ATM_11_0_348'] = this.oRGANIDATM110348;
    data['PARTICULARS_IMG'] = this.pARTICULARSIMG;
    data['PC_2_SUBJECT_ID'] = this.pC2SUBJECTID;
    data['PC_PHOTO_ATM_32_1_4'] = this.pCPHOTOATM3214;
    data['PHOTO_ATM_43_1_4'] = this.pHOTOATM4314;
    data['PK_CLASS_ID_ATM_17_0_357'] = this.pKCLASSIDATM170357;
    data['PK_GRADE_ATM_56_1_347'] = this.pKGRADEATM561347;
    data['PK_PT_ATM_10_1_351'] = this.pKPTATM101351;
    data['PK_PT_ID_ATM_22_0_351'] = this.pKPTIDATM220351;
    data['PK_STUDENT_NEW_ATM_54_1_311'] = this.pKSTUDENTNEWATM541311;
    data['PRODUCT_CLASS_ID'] = this.pRODUCTCLASSID;
    data['PRODUCT_CLASS_TYPE'] = this.pRODUCTCLASSTYPE;
    data['PRODUCT_COURSE'] = this.pRODUCTCOURSE;
    data['PRODUCT_DETAIL_PIC_ATM_36_0_4'] = this.pRODUCTDETAILPICATM3604;
    data['PRODUCT_GRADE'] = this.pRODUCTGRADE;
    data['PRODUCT_GRADE_ID'] = this.pRODUCTGRADEID;
    data['PRODUCT_MODE'] = this.pRODUCTMODE;
    data['PRODUCT_NAME'] = this.pRODUCTNAME;
    data['PRODUCT_NOW_PRICE'] = this.pRODUCTNOWPRICE;
    data['PRODUCT_OLD_PRICE'] = this.pRODUCTOLDPRICE;
    data['PRODUCT_ORGAN'] = this.pRODUCTORGAN;
    data['PRODUCT_PROTYPE_ID'] = this.pRODUCTPROTYPEID;
    data['PRODUCT_SCHOOL'] = this.pRODUCTSCHOOL;
    data['PRODUCT_TEACHER'] = this.pRODUCTTEACHER;
    data['PRODUCT_TYPE_NAME'] = this.pRODUCTTYPENAME;
    data['PRODUCT_YEAR'] = this.pRODUCTYEAR;
    data['PT_ID'] = this.pTID;
    data['REGULAR_128_DIC_BUSSINESS_TYPE'] = this.rEGULAR128DICBUSSINESSTYPE;
    data['REGULAR_15_DIC_AFM_1'] = this.rEGULAR15DICAFM1;
    data['REGULAR_AFM_1'] = this.rEGULARAFM1;
    data['REGULAR_BUSSINESS_TYPE'] = this.rEGULARBUSSINESSTYPE;
    data['REGULAR_DIFFI_STAR'] = this.rEGULARDIFFISTAR;
    data['REGULAR_RB_ZT'] = this.rEGULARRBZT;
    data['RN_NUMBER'] = this.rNNUMBER;
    data['SCHOOL_ID_ATM_12_0_349'] = this.sCHOOLIDATM120349;
    data['SHOPPING_TYPE'] = this.sHOPPINGTYPE;
    data['START_DATE'] = this.sTARTDATE;
    data['STUDY_TIME_PRIOD'] = this.sTUDYTIMEPRIOD;
    data['TEACHERID'] = this.tEACHERID;
    data['TEACHERNAME'] = this.tEACHERNAME;
    data['TEACHER_ID_ATM_23_0_2'] = this.tEACHERIDATM2302;
    data['TEACHER_PIC_PHONE'] = this.tEACHERPICPHONE;
    data['TEACH_ID'] = this.tEACHID;
    data['TEA_MONGODB_ID'] = this.tEAMONGODBID;
    data['T_353_0'] = this.t3530;
    data['USERIDS'] = this.uSERIDS;
    data['YX_SHOP_CONTACT_QRCODE_ATM_52_0_4'] = this.yXSHOPCONTACTQRCODEATM5204;
    data['DIC_G_RB_ZT'] = this.dICGRBZT;
    data['RB_ZT'] = this.rBZT;
    data['REGULAR_19_DIC_RB_ZT'] = this.rEGULAR19DICRBZT;
    data['AFM_107'] = this.aFM107;
    data['AFM_2'] = this.aFM2;
    data['AFM_50'] = this.aFM50;
    data['ONETOONE_ID'] = this.oNETOONEID;
    data['OTO_APPLYSTUTXT'] = this.oTOAPPLYSTUTXT;
    data['PK_OTO_PRODUCT_ATM_2_0_429'] = this.pKOTOPRODUCTATM20429;
    return data;
  }
}